# 获取近 30 日的天气预报视频
import json

from getInfoByRequest import getInfoByRequest


class getWeatherVideo:
    def __init__(self):
        pass


    @staticmethod
    def getWeatherVideo():
        # 获取天气预报视频
        url = 'http://www.weather.com.cn/video/tqyb/index.shtml'
        url_list = getInfoByRequest.getWeatherUrl(url)
        json_data = getInfoByRequest.getVideo(url_list) # json_data 是一个字典 data项里面放了每一天的天气数据
